package com.rrd.hive.udf.sms;

public class DoubleRegex {
    private String pattern1;
    private String pattern2;
    private int size;

    public DoubleRegex(String pattern1, String pattern2) {
        this.pattern1 = pattern1;
        this.pattern2 = pattern2;
        this.size = 2;
    }

    public DoubleRegex(String pattern1) {
        this.pattern1 = pattern1;
        this.size = 1;
    }

    public String getPattern1() {
        return pattern1;
    }

    public String getPattern2() {
        return pattern2;
    }

    public int getSize() {
        return size;
    }
}
